
#ifndef _MEMBER_BPROGRESSBAR_H_
#define _MEMBER_BPROGRESSBAR_H_

#include <BImage>
#include <BProgressBar>
#include "IAlignment.h"

namespace BWE
{
	class member_BProgressBar : public IAlignment
	{
	public:
		member_BProgressBar(BProgressBar* progressBar);
		~member_BProgressBar();

		void freshSizes();
		void freshRects();

		BProgressBar*		boss;
		int					value;
		int					step;
		BRange				range;
		BString				format;
		BSize				chunkSize;
		Orientation			orientation;

		bool				dirty;
		BString				text;
		BSize				contentSize;
		BRect				chunkRect;
		BPointfArray		chunkPoints;
	};
}

#endif